Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luminous: cephfs: client: fix choose_target_mds for requests that do name lookup #23793

Merged
merged 1 commit into from Sep 18, 2018

Conversation

pdvian
Copy link

@pdvian pdvian commented Aug 29, 2018

There are two cases that a dirfrag is not recorded in CInode::fragmap.
One is that the dirfrag is not subtree root, another is that client does
not know which mds is dirfrag's auth mds. For the both cases, requests
that do name lookup are better to sent to dir inode's auth mds.

Fixes: http://tracker.ceph.com/issues/26860
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 436d174)

Conflicts:
	src/client/Client.cc : Resolved in choose_target_mds
@tchaikov tchaikov added this to the luminous milestone Aug 29, 2018
@smithfarm smithfarm added the cephfs Ceph File System label Aug 29, 2018
@yuriw
Copy link
Contributor

yuriw commented Sep 13, 2018

@yuriw yuriw merged commit 97adad0 into ceph:luminous Sep 18, 2018
@smithfarm smithfarm changed the title luminous : client: fix choose_target_mds for requests that do name lookup luminous: client: fix choose_target_mds for requests that do name lookup Oct 26, 2018
@smithfarm smithfarm changed the title luminous: client: fix choose_target_mds for requests that do name lookup luminous: cephfs: client: fix choose_target_mds for requests that do name lookup Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants